Login check JS update

Added some error reporting to the Ajax request. Also created space for a
bigger nav bar.