Implement authenticate class and layout (not yet implemented)