Finished off basic auth