Crude AJAXified login; need to create conditional views