Added login functionality -- Started REST