Adding login niceties
Update to dev version to fix redirect loop