Implement basic client-side login functionality