routing and secure login capabilities added