Added devise gem and applied all required settings