fixed login and update errors. added styling