Initial front end and an ajax login