Login is finished

whole night for debugging