Database issue fixed
start login function