committed with stack too deep error
some bugs to correct

This reverts commit e89b86d572efcee339cd8ed7a71ded053e81666d.
Revert e89b86d..b031a90

This rolls back to commit e89b86d572efcee339cd8ed7a71ded053e81666d.
Revert 42f9346..2ba2a17

This rolls back to commit 42f93464cf9f76329bdd7187951e25fc307eccdf.
finished changing login architecture