login modification

fix the bug that the login form may in wrong position in some system.