Session validations and account controller , database not used yet