Updated db method
Updated login screen/implementation
Replaced $fromIndex call
Fixed login
Fixed logout, updated nav