1 Login function.

by pellefjant