Initial commit. Authlogic login, user registration func implemented