Managing login and static files