Login frontend with basic validation