Added resources
Added login functionality