Reg bug fixed
Logout added
Merge branch 'login' into prog

For logout func
Bug fixed
Add Limit