Basic framework for a codeigniter site that required users to login via email address and password.