login version 1.0 functioning